import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/components/tem/Main'
import List from '@/components/tem/List'
import Person from '@/components/tem/Person'
Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [{
      path: '/',
      name: 'main',
      component: Main,
      props: true,
    },
    {
      path: '/list',
      name: 'list',
      component: List,
      props: true,
    },
    {
      path: '/person',
      name: 'person',
      component: Person,
      props: true,
    }
  ]

})
